﻿using System;

namespace HYElectricSetting
{
	public class CableData
	{
		public CableData()
		{
			this.CableName = string.Empty;
			this.CableModel = string.Empty;
			this.CableSpec = string.Empty;
			this.SystemType = string.Empty;
			this.OutDiameter = "0";
		}

		public bool IsInValid()
		{
			return string.IsNullOrWhiteSpace(this.CableModel) || string.IsNullOrWhiteSpace(this.CableSpec) || string.IsNullOrWhiteSpace(this.OutDiameter);
		}

		public string CableName { get; set; }

		public string CableModel { get; set; }

		public string CableSpec { get; set; }

		public string SystemType { get; set; }

		public string OutDiameter { get; set; }
	}
}
